<pyvcp>

<labelframe>
 <hbox>     <!--  TIMER  -->

   <label>
       <text>"Cycle Time"</text>
       <font>("Helvetica",16)</font>   
   </label>
        <u32> 
        <halpin>"time-hours"</halpin>
        <font>("Helvetica",16)</font>
        <format>"2d"</format>
        </u32>
   <label>
      <text>":"</text>
      <font>("Helvetica",16)</font>   
   </label>
        <u32> 
        <halpin>"time-minutes"</halpin>
        <font>("Helvetica",16)</font>
        <format>"2d"</format>
        </u32>
   <label>
      <text>":"</text>
      <font>("Helvetica",16)</font>   
   </label>
        <u32> 
        <halpin>"time-seconds"</halpin>
        <font>("Helvetica",16)</font>
        <format>"2d"</format>
        </u32>
 </hbox>
</labelframe>

<hbox>
	<!--  Button For Returning To Home Position   -->
<button>
   <relief>RAISED</relief>
          <halpin>"clear"</halpin>
          <text>" CLEAR "</text>
          <font>('Helvetica',16)</font>
          <bd>3</bd>
</button>
</hbox>S

<label>
     <text>" Joging G54 Coodinates "</text>
     <font>("Helvetica",20)</font>   
</label>

<label>
      <text>"Choose Increment"</text>
      <font>("Helvetica",12)</font>   
</label>


 <tabs>  
	<font>('Helvetica',12)</font>
        <names>["Thousanth", "Hundreth", "Tenth", "Inch"]</names>

				<!--  Thousanth Jog  -->
      <vbox>
   <labelframe>
      <hbox>

     <label>
       <width>2</width>
     </label>

        <button>
          <relief>RAISED</relief>
          <font>('Helvetica',16)</font>
          <width>3</width>
          <halpin>"Z+0.001"</halpin>
          <text>"Z+"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y+0.001"</halpin>
           <text>"Y+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W+0.001"</halpin>
           <text>"W+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"X-0.001"</halpin>
          <text>"X-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <label>
        <text>" 0.001 "</text>
        <font>('Helvetica',14)</font>
        <relief>RIDGE</relief>
        <bd>4</bd>
     </label>


     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"X+0.001"</halpin>
           <text>"X+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"Z-0.001"</halpin>
          <text>"Z-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y-0.001"</halpin>
           <text>"Y-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W-0.001"</halpin>
           <text>"W-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

   </labelframe>
      </vbox>

				<!--  Hundreths Jog  -->

      <vbox>
   <labelframe>
      <hbox>

     <label>
       <width>2</width>
     </label>

        <button>
          <relief>RAISED</relief>
          <font>('Helvetica',16)</font>
          <width>3</width>
          <halpin>"Z+0.010"</halpin>
          <text>"Z+"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y+0.010"</halpin>
           <text>"Y+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W+0.010"</halpin>
           <text>"W+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"X-0.010"</halpin>
          <text>"X-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <label>
        <text>" 0.010 "</text>
        <font>('Helvetica',14)</font>
        <relief>RIDGE</relief>
        <bd>4</bd>
     </label>


     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"X+0.010"</halpin>
           <text>"X+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"Z-0.010"</halpin>
          <text>"Z-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y-0.010"</halpin>
           <text>"Y-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W-0.010"</halpin>
           <text>"W-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

   </labelframe>
      </vbox>

				<!--  Tenths Jog  -->
      <vbox>
   <labelframe>
      <hbox>

     <label>
       <width>2</width>
     </label>

        <button>
          <relief>RAISED</relief>
          <font>('Helvetica',16)</font>
          <width>3</width>
          <halpin>"Z+0.100"</halpin>
          <text>"Z+"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y+0.100"</halpin>
           <text>"Y+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W+0.100"</halpin>
           <text>"W+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"X-0.100"</halpin>
          <text>"X-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <label>
        <text>" 0.100 "</text>
        <font>('Helvetica',14)</font>
        <relief>RIDGE</relief>
        <bd>4</bd>
     </label>


     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"X+0.100"</halpin>
           <text>"X+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"Z-0.100"</halpin>
          <text>"Z-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y-0.100"</halpin>
           <text>"Y-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W-0.100"</halpin>
           <text>"W-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

   </labelframe>
      </vbox>

				<!--  Inch Jog  -->
      <vbox>
   <labelframe>
      <hbox>

     <label>
       <width>2</width>
     </label>

        <button>
          <relief>RAISED</relief>
          <font>('Helvetica',16)</font>
          <width>3</width>
          <halpin>"Z+1.000"</halpin>
          <text>"Z+"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y+1.000"</halpin>
           <text>"Y+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W+1.000"</halpin>
           <text>"W+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"X-1.000"</halpin>
          <text>"X-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <label>
        <text>" 1.000 "</text>
        <font>('Helvetica',14)</font>
        <relief>RIDGE</relief>
        <bd>4</bd>
     </label>


     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"X+1.000"</halpin>
           <text>"X+"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

      <hbox>

     <label>
       <width>2</width>
     </label>

      <button>
          <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
          <halpin>"Z-1.000"</halpin>
          <text>"Z-"</text>
          <fg>"midnightblue"</fg>
        <bd>3</bd>
      </button>

     <label>
       <width>1</width>
     </label>

     <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"Y-1.000"</halpin>
           <text>"Y-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
     </button>

     <label>
       <width>1</width>
     </label>

       <button>
           <relief>RAISED</relief>
           <font>('Helvetica',16)</font>
           <width>3</width>
           <halpin>"W-1.000"</halpin>
           <text>"W-"</text>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>
      </hbox>

     <label>
       <width>1</width>
     </label>

   </labelframe>
      </vbox>

 </tabs>

       <button>
           <relief>RAISED</relief>
           <halpin>"X0Y0"</halpin>
           <text>"Return G54 to X0 Y0"</text>
           <font>('Helvetica',16)</font>
           <fg>"midnightblue"</fg>
         <bd>3</bd>
       </button>

</pyvcp>

<!-- 
HALUI COMMANDS FOR INI FILE

[HALUI]
MDI_COMMAND = M111
MDI_COMMAND = M112
MDI_COMMAND = O900 call
MDI_COMMAND = G43 H1
MDI_COMMAND = G43 H2
MDI_COMMAND = G43 H3
MDI_COMMAND = G43 H4
MDI_COMMAND = G10 L2 P1 X[#5221 + 0.001]
MDI_COMMAND = G10 L2 P1 Y[#5222 + 0.001]
MDI_COMMAND = G10 L2 P1 Z[#5223 + 0.001]
MDI_COMMAND = G10 L2 P1 W[#5229 + 0.001]
MDI_COMMAND = G10 L2 P1 X[#5221 - 0.001]
MDI_COMMAND = G10 L2 P1 Y[#5222 - 0.001]
MDI_COMMAND = G10 L2 P1 Z[#5223 - 0.001]
MDI_COMMAND = G10 L2 P1 W[#5229 - 0.001]
MDI_COMMAND = G10 L2 P1 X[#5221 + 0.010]
MDI_COMMAND = G10 L2 P1 Y[#5222 + 0.010]
MDI_COMMAND = G10 L2 P1 Z[#5223 + 0.010]
MDI_COMMAND = G10 L2 P1 W[#5229 + 0.010]
MDI_COMMAND = G10 L2 P1 X[#5221 - 0.010]
MDI_COMMAND = G10 L2 P1 Y[#5222 - 0.010]
MDI_COMMAND = G10 L2 P1 Z[#5223 - 0.010]
MDI_COMMAND = G10 L2 P1 W[#5229 - 0.010]
MDI_COMMAND = G10 L2 P1 X[#5221 + 0.100]
MDI_COMMAND = G10 L2 P1 Y[#5222 + 0.100]
MDI_COMMAND = G10 L2 P1 Z[#5223 + 0.100]
MDI_COMMAND = G10 L2 P1 W[#5229 + 0.100]
MDI_COMMAND = G10 L2 P1 X[#5221 - 0.100]
MDI_COMMAND = G10 L2 P1 Y[#5222 - 0.100]
MDI_COMMAND = G10 L2 P1 Z[#5223 - 0.100]
MDI_COMMAND = G10 L2 P1 W[#5229 - 0.100]
MDI_COMMAND = G10 L2 P1 X[#5221 + 1.000]
MDI_COMMAND = G10 L2 P1 Y[#5222 + 1.000]
MDI_COMMAND = G10 L2 P1 Z[#5223 + 1.000]
MDI_COMMAND = G10 L2 P1 W[#5229 + 1.000]
MDI_COMMAND = G10 L2 P1 X[#5221 - 1.000]
MDI_COMMAND = G10 L2 P1 Y[#5222 - 1.000]
MDI_COMMAND = G10 L2 P1 Z[#5223 - 1.000]
MDI_COMMAND = G10 L2 P1 W[#5229 - 1.000]
MDI_COMMAND = G10 L2 P1 X0 Y0

#POSTGUI HAL FILE COMMANDS

#net Vacon halui.mdi-command-00 <= pyvcp.vac_on (NOT YET IMPLEMENTED)
#net Vacoff halui.mdi-command-01 <= pyvcp.vac_off (NOT YET IMPLEMENTED)
net clear halui.mdi-command-02 <= pyvcp.clear
#net 1qtr halui.mdi-command-04 <= pyvcp.1qtr (NOT YET IMPLEMENTED)
#net half halui.mdi-command-05 <= pyvcp.half (NOT YET IMPLEMENTED)
#net 3qtr halui.mdi-command-03 <= pyvcp.3qtr (NOT YET IMPLEMENTED)
#net 1half halui.mdi-command-06 <= pyvcp.1half (NOT YET IMPLEMENTED)
net X+0.001  halui.mdi-command-07 <= pyvcp.X+0.001
net Y+0.001  halui.mdi-command-08 <= pyvcp.Y+0.001
net Z+0.001  halui.mdi-command-09 <= pyvcp.Z+0.001
net W+0.001  halui.mdi-command-10 <= pyvcp.W+0.001
net X-0.001  halui.mdi-command-11 <= pyvcp.X-0.001
net Y-0.001  halui.mdi-command-12 <= pyvcp.Y-0.001
net Z-0.001  halui.mdi-command-13 <= pyvcp.Z-0.001
net W-0.001  halui.mdi-command-14 <= pyvcp.W-0.001
net X+0.010  halui.mdi-command-15 <= pyvcp.X+0.010
net Y+0.010  halui.mdi-command-16 <= pyvcp.Y+0.010
net Z+0.010  halui.mdi-command-17 <= pyvcp.Z+0.010
net W+0.010  halui.mdi-command-18 <= pyvcp.W+0.010
net X-0.010  halui.mdi-command-19 <= pyvcp.X-0.010
net Y-0.010  halui.mdi-command-20 <= pyvcp.Y-0.010
net Z-0.010  halui.mdi-command-21 <= pyvcp.Z-0.010
net W-0.010  halui.mdi-command-22 <= pyvcp.W-0.010
net X+0.100  halui.mdi-command-23 <= pyvcp.X+0.100
net Y+0.100  halui.mdi-command-24 <= pyvcp.Y+0.100
net Z+0.100  halui.mdi-command-25 <= pyvcp.Z+0.100
net W+0.100  halui.mdi-command-26 <= pyvcp.W+0.100
net X-0.100  halui.mdi-command-27 <= pyvcp.X-0.100
net Y-0.100  halui.mdi-command-28 <= pyvcp.Y-0.100
net Z-0.100  halui.mdi-command-29 <= pyvcp.Z-0.100
net W-0.100  halui.mdi-command-30 <= pyvcp.W-0.100
net X+1.000  halui.mdi-command-31 <= pyvcp.X+1.000
net Y+1.000  halui.mdi-command-32 <= pyvcp.Y+1.000
net Z+1.000  halui.mdi-command-33 <= pyvcp.Z+1.000
net W+1.000  halui.mdi-command-34 <= pyvcp.W+1.000
net X-1.000  halui.mdi-command-35 <= pyvcp.X-1.000
net Y-1.000  halui.mdi-command-36 <= pyvcp.Y-1.000
net Z-1.000  halui.mdi-command-37 <= pyvcp.Z-1.000
net W-1.000  halui.mdi-command-38 <= pyvcp.W-1.000
net X0Y0 halui.mdi-command-39 <= pyvcp.X0Y0

			-->